#ifndef ADDMENU_H
#define ADDMENU_H

#include <QWidget>
#include<QFileDialog>
#include "public.h"
#include"getinftonet.h"

namespace Ui {
class addmenu;
}

class addmenu : public QWidget
{
    Q_OBJECT

public:
    explicit addmenu(QWidget *parent = nullptr);
    void init(Getinftonet *gifs);
    ~addmenu();

private slots:
    void on_pushButton_clicked();

    void on_pushButton_2_clicked();

    void on_pushButton_3_clicked();


signals:



private:
    Ui::addmenu *ui;

    QFileDialog *file;
    QString filepath;
    bool haveimg; //是否有图片

    Getinftonet *reqpost; //数据请求

};

#endif // ADDMENU_H
